body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, p, sub, form, input, button, textarea, th, td, tr {
    margin: 0;
    padding: 0;
    text-align: left;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
}

ul, li {
    list-style: none;
}

img {
    display: block;
    border: 0;
}

a {
    display: block;
    text-decoration: none
}

/* clear float */
.clearfix {
    display: inline-block;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
.hidden{
    display:none;
}
.show>div{
    margin: 0 10px 20px;
    width:192px;
}

#overlay{
    position: fixed;
    _position:absolute;
    top:0;
    left:0;
    _right:0;
    background-color: rgba(0, 0, 0, .5);
    filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#7f000000', EndColorStr='#7f000000');
    z-index: 10;
}
:root #overlay{
    filter: none\9;
}
/****** fancy box ******/
#popup{
    position:absolute;
    width:auto;
    z-index: 100;
}
.fancy-box{
    padding: 10px;
    color:#000;
    border-radius:6px;
    background-color: rgba(0, 0, 0, .1);
    /*
     * StartColorStr 和 EndColorStr:
     *    #19000000 是 10% 透明度(opacity=.1)的 #000000 的意思
     *    组成: # + 透明度 + 颜色
     *    算法: Math.floor(0.1 * 255).toString(16)=19;
     */
    filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#19000000', EndColorStr='#19000000');
    z-index: 99;
}
/*** IE9 hack ***/
:root .fancy-box{
    filter: none\9;
}
.container{
    background: #fff;
    padding:8px;
}
.modal-header {

}
.modal-header h3{
    margin-bottom: 6px;
}
.modal-body{
    min-width: 80px;
    min-height:60px;


}

.modal-footer{
    text-align:right;
}
.btn{
    color:#000;
    border-radius:4px;
    display:inline-block;
    background-color: #ccc;
    font-weight: bold;
    font-size:11px;
    padding:5px ;
    margin: 20px 0 0 10px;

}
.close{
    border-radius:50px;
    background: #ccc;
    z-index: 9;
    position: absolute;
    display: block;
    width:24px;
    height: 24px;
    font-weight:bold;
    font-size:24px;
    top: -4px;
    right: -4px;
    cursor:pointer;
    color:#000;
    text-align: center;
}

/****** fancy box end ******/